import { requset } from '@/request/request';
import { Login } from './type'

/**
 * 登录接口
 * */
export const login = (data : Login.Params) : Promise<Login.Response> => {
	return requset({ url: '/api/auth/login', data })
}